34
https://raw.githubusercontent.com/1127140426/tensquare/master/tensquare_spit/src/main/java/com/tensquare/spit/dao/SpitDao.java
package com.tensquare.spit.dao;

import com.tensquare.spit.pojo.Spit;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author 李聪
 * @date 2020/2/17 14:38
 */
public interface SpitDao extends MongoRepository<Spit,String> {

    public Page<Spit> findByParentid(String parentid, Pageable pageable);
}
